package com.jzr.bedside.db1.model;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 食堂菜单
 * </p>
 *
 * @author henry
 * @since 2019-08-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TFoodMenu对象", description="食堂菜单")
public class TFoodMenu implements Serializable {
    private static final long serialVersionUID = 1L;
    public static final String TableName = "t_food_menu";
    public static final String Id_ = "id";
    public static final String Name_ = "name";
    public static final String Price_ = "price";
    public static final String Type_ = "type";
    public static final String Introduce_ = "introduce";
    public static final String ImgUrl_ = "img_url";
    public static final String Status_ = "status";
    public static final String UpdateBy_ = "update_by";
    public static final String UpdateTime_ = "update_time";


    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "食物名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "食物价格")
    @TableField("price")
    private BigDecimal price;

    @ApiModelProperty(value = "食物类型: 0=小炒 1=主食 2=零食 3=夜宵 4=营养套餐")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "食物介绍")
    @TableField("introduce")
    private String introduce;

    @ApiModelProperty(value = "食物图片")
    @TableField("img_url")
    private String imgUrl;

    @ApiModelProperty(value = "状态: 0=售完 1=售中")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "更新人")
    @TableField("update_by")
    private Integer updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;


}
